package com.hdf.etdemo.viewframe.fragment;

import com.hdf.etdemo.R;

import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

public class Page1 extends Fragment {
	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {
		View view = inflater.inflate(R.layout.home_fragment, null);
		TextView t=(TextView) view.findViewById(R.id.homeid);
		t.setText("首页 V4包下frgament");
		TextView title=(TextView) view.findViewById(R.id.center_text);
		title.setText("首页的标题");
		return view;
	}
}
